<template>
	<view>
		<view class="chart">
			<image src="../../static/image/WechatIMG577.png"></image>
		</view>
		<button @click="watchData()" class="row">
			<view class="row_left"><image class="picture_top" src="../../static/image/shoubiao@2x.png"></image></view>
			<view class="row_cent"><view class="text">智能穿戴</view></view>
			<view class="row_right"><image class="arrows" src="../../static/image/zuola@2x.png"></image></view>
		</button>
		<button @click="personalData()" class="row">
			<view class="row_left"><image class="picture_bottom" src="../../static/image/gerenshujuzhongxin@2x.png"></image></view>
			<view class="row_cent"><view class="text">专业检测</view></view>
			<view class="row_right"><image class="arrows" src="../../static/image/zuola@2x.png"></image></view>
		</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		methods: {
			personalData(){
				uni.navigateTo({
					url: '/pages/healthData/personalData/personalData'
				})
			},
			watchData(){
				uni.navigateTo({
					url: '/pages/healthData/watchData/index'
				})
			}
		}
	}
</script>

<style lang="less">
	.page_jump {
		margin-top: 50rpx;
	}
	.row{
		font-weight: bold;
		background-color: #FFFFFF;
		height: 120rpx;
		margin: 20rpx;
		border-radius: 25rpx;
		vertical-align: middle;
		display: flex;
		flex-grow: 0;
		align-items: center;
	}
	.picture_top {
		float: left;
		width: 46rpx;
		height: 62rpx;
	}
	.text{
		float: left;
	}
	.arrows{
		width: 18rpx;
		height: 20rpx;
		float: right;
	}
	.row_left{
		width: 10%;
	}
	.row_right{
		width: 30%;
	}
	.row_cent{
		width: 70%;
	}
	.picture_bottom{
		float: left;
		width: 52rpx;
		height: 56rpx;
	}
	.chart {
		width: 100%;
		height: 300rpx;
		image {
			width: 100%;
			height: 100%;
		}
		margin-bottom: 30rpx;
	}
</style>
